<?php

use yii\db\Migration;

class m190508_060654_common_auth_item extends Migration
{
    public function up()
    {
        /* 取消外键约束 */
        $this->execute('SET foreign_key_checks = 0');
        
        /* 创建表 */
        $this->createTable('{{%common_auth_item}}', [
            'id' => "int(11) NOT NULL AUTO_INCREMENT",
            'title' => "varchar(200) NULL DEFAULT '' COMMENT '标题'",
            'name' => "varchar(64) NOT NULL DEFAULT '' COMMENT '别名'",
            'type' => "varchar(20) NOT NULL DEFAULT '' COMMENT '类别'",
            'type_child' => "varchar(20) NOT NULL DEFAULT '' COMMENT '子类别'",
            'addons_name' => "varchar(100) NOT NULL DEFAULT '' COMMENT '插件名称'",
            'pid' => "int(10) NULL DEFAULT '0' COMMENT '父级id'",
            'level' => "int(5) NULL DEFAULT '1' COMMENT '级别'",
            'is_menu' => "tinyint(4) NULL DEFAULT '0' COMMENT '是否菜单'",
            'sort' => "int(10) NULL DEFAULT '9999' COMMENT '排序'",
            'tree' => "varchar(500) NULL DEFAULT '' COMMENT '树'",
            'status' => "tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态[-1:删除;0:禁用;1启用]'",
            'created_at' => "int(11) NULL DEFAULT '0'",
            'updated_at' => "int(11) NULL DEFAULT '0'",
            'PRIMARY KEY (`id`)'
        ], "ENGINE=InnoDB  DEFAULT CHARSET=utf8mb4 COMMENT='公用_权限表'");
        
        /* 索引设置 */
        
        
        /* 表数据 */
        $this->insert('{{%common_auth_item}}',['id'=>'1','title'=>'系统基础','name'=>'base','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'0','tree'=>'tr_0','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'2','title'=>'个人中心','name'=>'/sys/manager/personal','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_1','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'3','title'=>'修改密码','name'=>'/sys/manager/up-password','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_1','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'4','title'=>'清理缓存','name'=>'/main/clear-cache','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_1','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'5','title'=>'查看消息','name'=>'baseAnnounce','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_1','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'6','title'=>'公告列表','name'=>'/notify/announce','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'5','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_1 tr_5','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'7','title'=>'公告详情','name'=>'/notify/announce-view','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'5','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_1 tr_5','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'8','title'=>'私信列表','name'=>'/notify/message','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'5','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_1 tr_5','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'9','title'=>'平台首页','name'=>'cate:1','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'1','tree'=>'tr_0','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'10','title'=>'会员管理','name'=>'indexMember','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'9','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_9','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'11','title'=>'会员信息','name'=>'indexMemberInfo','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'10','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_9 tr_10','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'12','title'=>'充值','name'=>'/member/member/recharge','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'11','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_9 tr_10 tr_11','status'=>'1','created_at'=>'1557295591','updated_at'=>'1557295591']);
        $this->insert('{{%common_auth_item}}',['id'=>'13','title'=>'首页','name'=>'/member/member/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'11','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_9 tr_10 tr_11','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'14','title'=>'编辑','name'=>'/member/member/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'11','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_9 tr_10 tr_11','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'15','title'=>'新增/账号密码','name'=>'/member/member/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'11','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_9 tr_10 tr_11','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'16','title'=>'删除','name'=>'/member/member/destroy','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'11','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_9 tr_10 tr_11','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'17','title'=>'状态修改','name'=>'/member/member/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'11','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_9 tr_10 tr_11','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'18','title'=>'收货地址','name'=>'indexMemberAddress','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'11','level'=>'4','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_9 tr_10 tr_11','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'19','title'=>'首页','name'=>'/member/address/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'18','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_9 tr_10 tr_11 tr_18','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'20','title'=>'新增/编辑','name'=>'/member/address/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'18','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_9 tr_10 tr_11 tr_18','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'21','title'=>'删除','name'=>'/member/address/destroy','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'18','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_9 tr_10 tr_11 tr_18','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'22','title'=>'状态修改','name'=>'/member/address/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'18','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_9 tr_10 tr_11 tr_18','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'23','title'=>'第三方用户','name'=>'indexMemberAuth','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'10','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_9 tr_10','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'24','title'=>'首页','name'=>'/member/auth/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'23','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_9 tr_10 tr_23','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'25','title'=>'新增/编辑','name'=>'/member/auth/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'23','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_9 tr_10 tr_23','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'26','title'=>'删除','name'=>'/member/auth/destroy','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'23','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_9 tr_10 tr_23','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'27','title'=>'状态修改','name'=>'/member/auth/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'23','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_9 tr_10 tr_23','status'=>'1','created_at'=>'1557295592','updated_at'=>'1557295592']);
        $this->insert('{{%common_auth_item}}',['id'=>'28','title'=>'充值日志','name'=>'/member/credits-log/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'10','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_9 tr_10','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'29','title'=>'微信公众号','name'=>'cate:2','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'2','tree'=>'tr_0','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'30','title'=>'增强功能','name'=>'wechatToEnhanceFunction','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'29','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'31','title'=>'自动回复','name'=>'wechatAutoReply','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'30','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_30','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'32','title'=>'关键字首页','name'=>'/wechat/rule/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'31','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_30 tr_31','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'33','title'=>'关键字新增/编辑','name'=>'/wechat/rule/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'31','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_30 tr_31','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'34','title'=>'关键字删除','name'=>'/wechat/rule/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'31','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_30 tr_31','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'35','title'=>'关键字状态修改','name'=>'/wechat/rule/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'31','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_29 tr_30 tr_31','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'36','title'=>'非文字自动回复','name'=>'/wechat/setting/special-message','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'31','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_29 tr_30 tr_31','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'37','title'=>'关注/默认回复','name'=>'/wechat/reply-default/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'31','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_29 tr_30 tr_31','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'38','title'=>'自定义菜单','name'=>'wechatMenu','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'30','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_30','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'39','title'=>'首页','name'=>'/wechat/menu/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'38','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_30 tr_38','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'40','title'=>'新增/编辑','name'=>'/wechat/menu/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'38','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_30 tr_38','status'=>'1','created_at'=>'1557295593','updated_at'=>'1557295593']);
        $this->insert('{{%common_auth_item}}',['id'=>'41','title'=>'删除','name'=>'/wechat/menu/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'38','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_30 tr_38','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'42','title'=>'状态修改','name'=>'/wechat/menu/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'38','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_29 tr_30 tr_38','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'43','title'=>'同步','name'=>'/wechat/menu/sync','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'38','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_29 tr_30 tr_38','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'44','title'=>'生效并置顶','name'=>'/wechat/menu/save','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'38','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_29 tr_30 tr_38','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'45','title'=>'二维码/转化链接','name'=>'wechatQrCode','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'30','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_30','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'46','title'=>'二维码管理','name'=>'wechatQrCodeManager','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'45','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_30 tr_45','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'47','title'=>'首页','name'=>'/wechat/qrcode/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'46','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_46','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'48','title'=>'编辑','name'=>'/wechat/qrcode/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'46','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_46','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'49','title'=>'新增','name'=>'/wechat/qrcode/add','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'46','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_46','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'50','title'=>'删除全部','name'=>'/wechat/qrcode/delete-all','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'46','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_46','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'51','title'=>'下载','name'=>'/wechat/qrcode/down','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'46','level'=>'5','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_46','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'52','title'=>'扫描统计','name'=>'wechatQrCodeStatistical','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'45','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_30 tr_45','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'53','title'=>'首页','name'=>'/wechat/qrcode-stat/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'52','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_52','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'54','title'=>'删除','name'=>'/wechat/qrcode-stat/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'52','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_52','status'=>'1','created_at'=>'1557295594','updated_at'=>'1557295594']);
        $this->insert('{{%common_auth_item}}',['id'=>'55','title'=>'长链接转二维码','name'=>'wechat-qr-code-long-url','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'45','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_30 tr_45','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'56','title'=>'首页','name'=>'/wechat/qrcode/long-url','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'52','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_52','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'57','title'=>'转化链接','name'=>'/wechat/qrcode/qr','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'52','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_29 tr_30 tr_45 tr_52','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'58','title'=>'粉丝管理','name'=>'wechatFans','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'29','level'=>'2','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'59','title'=>'粉丝列表','name'=>'wechatFansManager','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'58','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_58','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'60','title'=>'首页','name'=>'/wechat/fans/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'59','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_58 tr_59','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'61','title'=>'获取全部粉丝','name'=>'/wechat/fans/sync-all-openid','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'59','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_58 tr_59','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'62','title'=>'同步','name'=>'/wechat/fans/sync','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'59','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_58 tr_59','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'63','title'=>'标签分组','name'=>'/wechat/fans/move-tag','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'59','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_29 tr_58 tr_59','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'64','title'=>'发送消息','name'=>'/wechat/fans/send-message','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'59','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_29 tr_58 tr_59','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'65','title'=>'详情','name'=>'/wechat/fans/view','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'59','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_29 tr_58 tr_59','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'66','title'=>'粉丝标签','name'=>'wechatFansTags','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'58','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_58','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'67','title'=>'首页','name'=>'/wechat/fans-tags/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'66','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_58 tr_66','status'=>'1','created_at'=>'1557295595','updated_at'=>'1557295595']);
        $this->insert('{{%common_auth_item}}',['id'=>'68','title'=>'删除','name'=>'/wechat/fans-tags/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'66','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_58 tr_66','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'69','title'=>'同步','name'=>'/wechat/fans-tags/synchro','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'66','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_58 tr_66','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'70','title'=>'素材库','name'=>'wechatAttachment','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'29','level'=>'2','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'71','title'=>'首页','name'=>'/wechat/attachment/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'70','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_70','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'72','title'=>'图文新增/编辑','name'=>'/wechat/attachment/news-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'70','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_70','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'73','title'=>'图片/音频/视频新增','name'=>'/wechat/attachment/create','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'70','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_70','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'74','title'=>'删除','name'=>'/wechat/attachment/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'70','level'=>'3','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_29 tr_70','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'75','title'=>'手机预览','name'=>'/wechat/attachment/preview','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'70','level'=>'3','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_29 tr_70','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'76','title'=>'消息群发','name'=>'/wechat/attachment/send','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'70','level'=>'3','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_29 tr_70','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'77','title'=>'同步','name'=>'/wechat/attachment/sync','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'70','level'=>'3','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_29 tr_70','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'78','title'=>'历史消息','name'=>'wechatMsgHistory','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'29','level'=>'2','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_29','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'79','title'=>'首页','name'=>'/wechat/msg-history/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'78','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_78','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'80','title'=>'删除','name'=>'/wechat/msg-history/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'78','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_78','status'=>'1','created_at'=>'1557295596','updated_at'=>'1557295596']);
        $this->insert('{{%common_auth_item}}',['id'=>'81','title'=>'定时群发','name'=>'wechatMassRecord','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'29','level'=>'2','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_29','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'82','title'=>'首页','name'=>'/wechat/mass-record/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'81','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_81','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'83','title'=>'删除','name'=>'/wechat/mass-record/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'81','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_81','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'84','title'=>'新建','name'=>'/wechat/mass-record/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'81','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_81','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'85','title'=>'数据统计','name'=>'wechatDataStatistics','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'29','level'=>'2','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_29','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'86','title'=>'粉丝关注统计','name'=>'/wechat/stat/fans-follow','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'85','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_29 tr_85','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'87','title'=>'回复规则使用量','name'=>'/wechat/stat/rule','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'85','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_29 tr_85','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'88','title'=>'关键字命中规则','name'=>'/wechat/stat/rule-keyword','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'85','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_29 tr_85','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'89','title'=>'参数配置','name'=>'/wechat/setting/history-stat','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'29','level'=>'2','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_29','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'90','title'=>'系统管理','name'=>'cate:3','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'3','tree'=>'tr_0','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'91','title'=>'网站设置','name'=>'/common/config/edit-all','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'90','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'92','title'=>'数据保存','name'=>'/common/config/update-info','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'91','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_91','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'93','title'=>'系统功能','name'=>'sysFunction','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'90','level'=>'2','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'94','title'=>'应用管理','name'=>'commonAddons','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'93','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93','status'=>'1','created_at'=>'1557295597','updated_at'=>'1557295597']);
        $this->insert('{{%common_auth_item}}',['id'=>'95','title'=>'已安装插件','name'=>'/common/addons/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'96','title'=>'安装插件','name'=>'/common/addons/install','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'97','title'=>'卸载插件','name'=>'/common/addons/un-install','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'98','title'=>'设计插件','name'=>'/common/addons/create','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'99','title'=>'状态修改','name'=>'/common/addons/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'100','title'=>'编辑','name'=>'/common/addons/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'101','title'=>'更新数据库','name'=>'/common/addons/upgrade','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'102','title'=>'更新配置','name'=>'/common/addons/upgrade-config','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'94','level'=>'4','is_menu'=>'0','sort'=>'7','tree'=>'tr_0 tr_90 tr_93 tr_94','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'103','title'=>'配置管理','name'=>'commonConfig','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'93','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'104','title'=>'首页','name'=>'/common/config/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93 tr_103','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'105','title'=>'编辑','name'=>'/common/config/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93 tr_103','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'106','title'=>'删除','name'=>'/common/config/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93 tr_103','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'107','title'=>'状态修改','name'=>'/common/config/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_93 tr_103','status'=>'1','created_at'=>'1557295598','updated_at'=>'1557295598']);
        $this->insert('{{%common_auth_item}}',['id'=>'108','title'=>'配置分类','name'=>'commonConfigCate','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_90 tr_93 tr_103','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'109','title'=>'首页','name'=>'/common/config-cate/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'108','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93 tr_103 tr_108','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'110','title'=>'编辑','name'=>'/common/config-cate/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'108','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93 tr_103 tr_108','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'111','title'=>'删除','name'=>'/common/config-cate/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'108','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93 tr_103 tr_108','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'112','title'=>'状态修改','name'=>'/common/config-cate/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'108','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_93 tr_103 tr_108','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'113','title'=>'后台菜单','name'=>'sysMenu','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'93','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'114','title'=>'首页','name'=>'/sys/menu/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'113','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93 tr_113','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'115','title'=>'新增/编辑','name'=>'/sys/menu/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'113','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93 tr_113','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'116','title'=>'删除','name'=>'/sys/menu/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'113','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93 tr_113','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'117','title'=>'状态修改','name'=>'/sys/menu/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'113','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_93 tr_113','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'118','title'=>'菜单分类','name'=>'sysMenuCate','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'113','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_90 tr_93 tr_113','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'119','title'=>'首页','name'=>'/sys/menu-cate/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'118','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93 tr_113 tr_118','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'120','title'=>'新增/编辑','name'=>'/sys/menu-cate/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'118','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93 tr_113 tr_118','status'=>'1','created_at'=>'1557295599','updated_at'=>'1557295599']);
        $this->insert('{{%common_auth_item}}',['id'=>'121','title'=>'删除','name'=>'/sys/menu-cate/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'118','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93 tr_113 tr_118','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'122','title'=>'状态修改','name'=>'/sys/menu-cate/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'118','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_93 tr_113 tr_118','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'123','title'=>'公告管理','name'=>'commonNotifyAnnounce','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'93','level'=>'3','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_93','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'124','title'=>'首页','name'=>'/sys/notify-announce/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'123','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93 tr_123','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'125','title'=>'新增/编辑','name'=>'/sys/notify-announce/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'123','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93 tr_123','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'126','title'=>'删除','name'=>'/sys/notify-announce/destroy','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'123','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93 tr_123','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'127','title'=>'私信管理','name'=>'commonNotifyMessage','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'93','level'=>'3','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_90 tr_93','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'128','title'=>'首页','name'=>'/sys/notify-message/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'127','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_93 tr_127','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'129','title'=>'新增','name'=>'/sys/notify-message/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'127','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_93 tr_127','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'130','title'=>'删除','name'=>'/sys/notify-message/destroy','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'127','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_93 tr_127','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'131','title'=>'用户权限','name'=>'sysManagerAuth','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'90','level'=>'2','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'132','title'=>'后台用户','name'=>'sysManager','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'131','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_131','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'133','title'=>'首页','name'=>'/sys/manager/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'132','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_131 tr_132','status'=>'1','created_at'=>'1557295600','updated_at'=>'1557295600']);
        $this->insert('{{%common_auth_item}}',['id'=>'134','title'=>'新增/账号密码','name'=>'/sys/manager/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'132','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_131 tr_132','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'135','title'=>'删除','name'=>'/sys/manager/destroy','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'132','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_131 tr_132','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'136','title'=>'状态修改','name'=>'/sys/manager/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'132','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_131 tr_132','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'137','title'=>'编辑','name'=>'/sys/manager/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'132','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_90 tr_131 tr_132','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'138','title'=>'权限管理','name'=>'commonAuthItem','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'131','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_131','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'139','title'=>'首页','name'=>'/common/auth-item/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'138','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_131 tr_138','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'140','title'=>'新增/编辑','name'=>'/common/auth-item/ajax-edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'138','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_131 tr_138','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'141','title'=>'删除','name'=>'/common/auth-item/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'138','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_131 tr_138','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'142','title'=>'状态修改','name'=>'/common/auth-item/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'138','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_131 tr_138','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'143','title'=>'角色管理','name'=>'commonAuthRole','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'131','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_131','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'144','title'=>'首页','name'=>'/common/auth-role/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_131 tr_143','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'145','title'=>'新增/编辑','name'=>'/common/auth-role/edit','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_131 tr_143','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'146','title'=>'删除','name'=>'/common/auth-role/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_131 tr_143','status'=>'1','created_at'=>'1557295601','updated_at'=>'1557295601']);
        $this->insert('{{%common_auth_item}}',['id'=>'147','title'=>'状态修改','name'=>'/common/auth-role/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_131 tr_143','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'148','title'=>'系统工具','name'=>'sysTool','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'90','level'=>'2','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'149','title'=>'系统信息','name'=>'/sys/system/info','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'148','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_148','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'150','title'=>'资源文件','name'=>'commonAttachment','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'148','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_148','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'151','title'=>'首页','name'=>'/common/attachment/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'150','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_148 tr_150','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'152','title'=>'删除','name'=>'/common/attachment/destroy','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'150','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_148 tr_150','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'153','title'=>'状态修改','name'=>'/common/attachment/ajax-update','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'150','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_148 tr_150','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'154','title'=>'查看日志','name'=>'commonLog','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'148','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_148','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'155','title'=>'行为日志','name'=>'/sys/action-log/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'154','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_148 tr_154','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'156','title'=>'行为日志详情','name'=>'/sys/action-log/view','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'154','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_148 tr_154','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'157','title'=>'报错日志','name'=>'/common/log/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'154','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_148 tr_154','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'158','title'=>'报错日志详情','name'=>'/common/log/view','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'154','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_148 tr_154','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'159','title'=>'支付日志','name'=>'/common/pay-log/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'154','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_90 tr_148 tr_154','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'160','title'=>'支付日志详情','name'=>'/common/pay-log/view','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'154','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_90 tr_148 tr_154','status'=>'1','created_at'=>'1557295602','updated_at'=>'1557295602']);
        $this->insert('{{%common_auth_item}}',['id'=>'161','title'=>'短信日志','name'=>'/common/sms-log/index','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'154','level'=>'4','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_90 tr_148 tr_154','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'162','title'=>'备份还原','name'=>'sysData','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'148','level'=>'3','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_148','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'163','title'=>'数据备份','name'=>'sysDataBackups','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'162','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_148 tr_162','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'164','title'=>'首页','name'=>'/sys/data-base/backups','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'163','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_163','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'165','title'=>'修复表','name'=>'/sys/data-base/repair','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'163','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_163','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'166','title'=>'优化表','name'=>'/sys/data-base/optimize','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'163','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_163','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'167','title'=>'Markdown数据字典','name'=>'/sys/data-base/data-dictionary','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'163','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_163','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'168','title'=>'备份检测','name'=>'/sys/data-base/export','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'163','level'=>'5','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_163','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'169','title'=>'开始备份','name'=>'/sys/data-base/export-start','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'163','level'=>'5','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_163','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'170','title'=>'数据还原','name'=>'sysDataRestore','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'162','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_148 tr_162','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'171','title'=>'首页','name'=>'/sys/data-base/restore','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'170','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_170','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'172','title'=>'还原','name'=>'/sys/data-base/restore-start','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'170','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_170','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'173','title'=>'初始化还原','name'=>'/sys/data-base/restore-init','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'170','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_170','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'174','title'=>'删除','name'=>'/sys/data-base/delete','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'170','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_90 tr_148 tr_162 tr_170','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        $this->insert('{{%common_auth_item}}',['id'=>'175','title'=>'应用中心','name'=>'cate:4','type'=>'backend','type_child'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'4','tree'=>'tr_0','status'=>'1','created_at'=>'1557295603','updated_at'=>'1557295603']);
        
        /* 设置外键约束 */
        $this->execute('SET foreign_key_checks = 1;');
    }

    public function down()
    {
        $this->execute('SET foreign_key_checks = 0');
        /* 删除表 */
        $this->dropTable('{{%common_auth_item}}');
        $this->execute('SET foreign_key_checks = 1;');
    }
}

